﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace CKS2320.Domain.DBEntity
{
    [Table("detectiondetail")]
    public partial class Detectiondetail
    {
        [Key]
        public Guid Id { get; set; }
        public Guid ParentId { get; set; }
        [StringLength(40)]
        public string? PartCode { get; set; }
        [Column("PLCIP")]
        [StringLength(20)]
        public string? Plcip { get; set; }
        public float? DetectedData { get; set; }
        [StringLength(50)]
        public string? DetectedType { get; set; }
        [StringLength(50)]
        public string? DetectedTypeDisplay { get; set; }
        public int? DetectedIndex { get; set; }
        public int? DetectedStatus { get; set; }
        [StringLength(50)]
        public string? DetectedTime { get; set; }
        [StringLength(50)]
        public string? Description { get; set; }
        [Column(TypeName = "datetime")]
        public DateTime? CreatedTime { get; set; }
        [Column(TypeName = "datetime")]
        public DateTime? ModifiedTime { get; set; }
    }
}
